package com.xuelang.pipeline.artifact.client.resource.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotEmpty;


/**
 * 制品仓库代理 查询条件类
 *
 * @author xiwen.zxg
 * @since 2024/5/27
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ArtifactProxyQuery {
    /**
     * 分组仓库UUID不能为空
     */
    @NotEmpty(message = "分组仓库UUID不能为空")
    private String groupArtifactUuid;
    /**
     * 代理仓库类型
     */
    @NotEmpty(message = "代理仓库类型不能为空")
    private String artifactType;
    /**
     * 代理仓库UUID
     */
    private String proxyArtifactUuid;
    /**
     * 开始日期-格式：yyyy-MM-dd
     */
    private String startDate;
    /**
     * 结束日期-格式：yyyy-MM-dd
     */
    private String endDate;

}
